package com.fcl.blog.service;

import com.fcl.blog.po.Type;
import com.fcl.blog.po.TypeTop;
import com.fcl.blog.vo.TypeVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author 付
 * @Date 2023/10/22 14:43
 * @Version 1.0
 * @description
 * @since 1.0
 */
public interface TypeService {
    List<Type> findListType();

    int insertType(Type type);

    Type selectByName(String name);
    int deleteById(Long id);
    int updateByType(TypeVo type);
    Type selectById(Long id);
    List<TypeTop> typeTop();
    Long total();
    List<TypeTop> typeTopAll();
}
